2.8 Getting Started with Graphics
The program enables the analyst to portray almost any aspect of the model in pictures or graphs that s/he can view on the terminal screen, store on a file, or plot out as hard copy. The program has numerous features to help customize or enhance the graphics displays. 2.8.1 Interactive Versus External Graphics
Any discussion of graphics assumes that the analyst is running the program interactively and viewing graphics images on the terminal screen. For the most part, this section is written for such a scenario. However, the program can be run in either interactive or batch mode and graphics images stored on a file for later viewing and processing. This process is called creating external graphics. 2.8.2 Specifying the Graphics Display Device Type
For Windows users, the program supports these drivers and capabilities: On a two-button mouse, the shift-right button functions like the middle button of a three-button mouse. While running the program on Windows platforms, there are three alternatives for specifying the graphics device type: The device type is one of the following: A colour setting higher than 256 colours is recommended.
Specifying an invalid device type causes the program to divert the graphics to a disk file and inhibits the opening of the menu system, even if the -g option is included on the program execution command. 2.8.3 Creating Graphics Displays
Many types of graphics displays can be created: geometry displays (nodes, elements, keypoints, etc.), results displays (temperature or stress contours, etc.), and graphs (stress-strain curves, time-history displays, etc.). Creating any display is a two-step process:
  1. Use graphics specification functions to establish specifications (such as the viewing direction, number and color controls, etc.) for the display.
  2. Use graphics action functions to actually produce the display.
The analyst can perform both types of graphics functions either by using menu functions in the GUI or by typing in commands directly. 2.8.3.1 GUI-Driven Graphics Functions
When running the program interactively, most users will prefer to use the GUI. As they use the GUI functions, they execute commands without actually seeing or editing them. (The program will record all underlying executed commands in your Jobname.LOG file.) Graphics specification functions can be accessed via Utility Menu> PlotCtrls. Graphics action functions reside under Utility Menu> Plot. 2.8.3.2 Immediate Mode Graphics
By default in the GUI, the model will immediately be displayed in the Graphics Window as new entities (such as areas, keypoints, nodes, elements, local coordinate systems, boundary conditions, etc.) are created. This is called immediate mode graphics. Anything drawn immediately in this way, however, will be destroyed if the analyst brings up a menu or dialog box on top of it. Or, if i the GUI is iconified, the immediate mode graphics image will not be shown when the analyst restores the GUI icon.
An immediate image will also be automatically scaled to fit nicely within the Graphics Window - a feature called automatic scaling. Periodically, though, the analyst may need to issue an explicit plot function because new entities which lie ‘outside’ the boundaries of the scaled image are created already in the Graphics Window and are thus not captured with immediate mode graphics. The plot function will rescale and redraw the image.
To obtain a more ‘permanent’ image, execute one of the plot functions (such as Utility Menu> Plot> Volumes) or a graphics action command (such as VPLOT). An image generated in this way will not be destroyed by menu pop-ups or by iconifying the GUI. Also note that symbols (such as keypoint or node numbers, local coordinate systems, boundary conditions, etc.) are also shown immediately but will not be present on a ‘permanent’ display unless the analyst first ‘turns on’ the appropriate symbol using the functions under Utility Menu> PlotCtrls or the appropriate graphics specification command.
If the analyst prefers not to see things immediately as s/he defines them, s/he can use Utility Menu> PlotCtrls> Erase Options> Immediate Display to turn off immediate mode. When the program is run interactively without using the GUI, immediate mode is off by default. 2.8.3.4 Replotting the Current Display
The GUI path Utility Menu> Plot> Replot re-executes the last display action command that was executed. However, the program can execute that command only if it is valid in the current routine. 2.8.3.5 Erasing the Current Display
The current graphics display can be cleared by issuing the Utility Menu> PlotCtrls> Erase Options> Erase Screen. GUI menus will not be erased, however. 2.8.3.6 Aborting a Display in Progress
Invoke the system ‘break’ to terminate a display before it is completed. Typically, this means moving the mouse pointer to the Output Window and typing Ctrl+C. However, the specific procedure varies from system to system. This break must be executed while the display is visibly in progress, or else the entire session will terminate. 2.8.4 Multi-Plotting Techniques
The multi-plotting capabilities within the program enable to display both multiple entities within a window and multiple windows with varying entity types. Defining each window's composition is a four-step process:
  1. Define the window layout.
  2. Choose the entities to be displayed in each window.
  3. Choose the type of element or graph display used for plots.
  4. Display the entities selected.
2.8.4.1 Defining the Window Layout
First define how many windows are to be used for plotting and how those windows appear on the screen. The following layout options are available: Issue the Utility Menu> PlotCtrls> MultiWindow Layout to define the window layout. The program displays a dialog box, in which the analyst can click on the layout s/he prefers. That dialog box also contains a Display upon OK/Apply field, where the analyst also can specify what the program displays next. Choices for this field are Multi-Plots, Replot, and No redisplay. When specifying the layout design is finished, click on Apply or OK. 2.8.4.2 Choosing What Entities Each Window Displays
Once the window layout is designed, choose what entities each window will display. To do so, use: Utility Menu> PlotCtrls> Multi-Plot Controls. A dialog box appears. In its Window to edit field, click on either All window or a specific window number (default is window 1). In the Display type field, choose either Entity plots or Graph plots. Then, click on OK. If Entity plots is choosen, another dialog box appears, listing the types of entities available for display. For Label, specify any of these entity types: 2.8.4.3 Choosing the Display Used for Plots
When displaying either the ELEM or GRPH entity type, the analyst can control the type of element or graph display used for plots. Use: Utility Menu> PlotCtrls> Multi-Plot Controls. ‘ALL’ can be specified to have all windows use the selected display type, or that display type can be applied only to a specific window (default is window 1). 2.8.4.4 Displaying Selected Entities
Issue Utility Menu> PlotCtrls> Multi-Plots or Utility Menu> Plot> Replot to display the entities selected.